package com.koelo.kiss.re.interpreter.script;

import com.koelo.kiss.re.parser.IParser;
import com.koelo.kiss.re.util.IContext;

public class RhinoInterpreter 
	extends AbstractScriptInterpreter {

	private static final String NAME = "rhino";
	private static final String EXTENTION = "js";

	public RhinoInterpreter(String source, IContext context, IParser parser) {
		
		super(source, context, parser);
	}

	public RhinoInterpreter(String source, IParser parser) {
		
		super(source, parser);
	}
	
	@Override
	public String getName() {
		
		return NAME;
	}

	@Override
	public String getExtension() {
		
		return EXTENTION;
	}
}
